package com.wt.admin.code.chat;

import com.aizuda.easy.security.exp.IErrorCode;

public enum Chat4000 implements IErrorCode {

    CODE_4000(4000, "名称不能为空"),
    CODE_4001(4001, "描述不能为空"),
    CODE_4002(4002, "请选择分类"),
    CODE_4003(4003, "id不能为空"),
    CODE_4004(4004, "有关联数据不能删除"),
    ;


    Chat4000(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private Integer code;
    private String msg;

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
